package com.itheima.jiekou5;

public class Test {
}
interface Inter{
    default void sing(){
        yaoren();
        System.out.println("去ktv嗨");
    }
    default void dance(){
        yaoren();
        System.out.println("去蹦迪");
    }
    //私有方法  为 default 服务的
   private  void yaoren(){
        System.out.println("叫上狐朋狗友");
    }
    static void  basketball (){
        //System.out.println("叫上好朋友们");
        yaohaopengyou();
        System.out.println("走,打球走");
    }
    static void youyong (){
        //System.out.println("叫上好朋友们");
        yaohaopengyou();
        System.out.println("走,游泳走");
    }
    private static void yaohaopengyou(){
        System.out.println("叫上好朋友们");
    }
}
class InterImpl implements Inter{

}